scrolledwindow: Fix on_scrollbar check
authorTimm Bäder <mail@baedert.org>
Thu, 15 Jun 2017 10:49:31 +0000 (12:49 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:14 +0000 (21:27 -0400)
commit3a20bc5e9a3348b16f20987f35c9ed3faa493580
treeeacd890b50d0188f84ef7a77434a78068c38c7ca
parent30f516ff1ff8d8430cfe415fcf803d09d2c68a9b
scrolledwindow: Fix on_scrollbar check

The event widget is always the toplevel window, so use the event target
and check the GtkScrollbar ancestor.
gtk/gtkscrolledwindow.c